package com.intellagric.service.module.sys_menu;

import com.intellagric.common.pojo.LayuiDataGridResult;
import com.intellagric.common.pojo.ResponseMessage;
import com.intellagric.pojo.SysMenu;

/**
 * @Auther: zhy
 * @Date: 2018/10/4
 * @Description: 菜单权限服务接口
 */
public interface MenuService {

    //增加菜单
    ResponseMessage addMenu(SysMenu sysMenu);

    //删除菜单
    ResponseMessage deleteMenu(String id);

    //修改菜单信息
    ResponseMessage editMenu(SysMenu sysMenu);

    //查询菜单
    SysMenu getMenuById(String id);
    LayuiDataGridResult getMenu();
    LayuiDataGridResult getMenuByParentId(String parentId);
    LayuiDataGridResult getMenuList();

}
